<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<s:if test="listmapComm.size() > 0">
		<s:iterator value="listmapComm" id="list">
					<s:if test="isCurrentUser(#list.userId)==true">
						<li style="border: none;display: block;position: relative;width: 170px;  margin: 20px 50% 0;background-color:#f9f9f9;">
							<%--<a href="#" style="text-decoration: none !important;">--%>
								<h2><i class="fa fa-user txt-color-green"></i> <s:property value="#list.createUser"/>(<small><s:property value="formatTime(#list.createDate)" /></small>)</h2>
								<p style="white-space:normal;">
									<s:if test="#list.atUsers!=''">
										<s:property value="#list.atUsers" escape="false"/>:</br>
									</s:if>
									<s:property value="#list.text" escape="false"/>
								</p>
							<%--</a>--%>
						</li>
					</s:if>
					<s:else>
						<li style="border: none;display: block;position: relative;width: 170px;  margin: 20px 1%  0;background-color:#f9f9f9;">
								<h2><i class="fa fa-user txt-color-green"></i> <s:property value="#list.createUser"/>(<small><s:property value="formatTime(#list.createDate)" /></small>)</h2>
								<p style="white-space:normal;">
									<s:if test="#list.atUsers!=''">
										<s:property value="#list.atUsers" escape="false"/>:</br>
									</s:if>
									<s:property value="#list.text" escape="false"/>
								</p>
						</li>
					</s:else>
					    <%--<s:if test="#list.commentState.key() == 1">--%>
					    	<%--<a href="#" key="comment-popup3" parentId='<s:property value="#list.id"/>' createrName='<s:property value="#list.creater.name"/>' createrId='<s:property value="#list.creater.id"/>' pid="<s:property value="#list.id"/>" data-rel="popup" data-position-to="window" data-transition="pop">回复批注</a>--%>
					    <%--</s:if>--%>
					    <%--<s:else>--%>
					    	<%--<a href="#" key="comment-popup2" parentId='<s:property value="#list.id"/>' createrName='<s:property value="#list.creater.name"/>' createrId='<s:property value="#list.creater.id"/>' pid="<s:property value="#list.id"/>" data-rel="popup" data-position-to="window" data-transition="pop">回复批注</a>--%>
					    <%--</s:else>--%>
					<%--<s:iterator value="#list.children" id="child">--%>
						<%--<s:if test="#child.state.toString() == 'Enable'">--%>
							<%--<li>--%>
							<%--<a href="#">--%>
								<%--<p id="<s:property value="#child.id"/>" style="white-space:normal;padding-left:20px;"><span >--%>
									<%--<s:property value="#child.creater.name"/>(<s:property value="formatTime(#child.createDate)" />)</i> 回复 @<s:property value="#child.toUsers.name"/>：--%>
									<%--<s:property value="#child.text" escape="false"/></span>--%>
								<%--</p>--%>
							<%--</a>--%>
				    		<%--<a href="#" key="comment-popup2" parentId='<s:property value="#list.id"/>' createrName='<s:property value="#child.creater.name"/>' createrId='<s:property value="#child.creater.id"/>' data-rel="popup" data-position-to="window" data-transition="pop">回复批注</a>--%>
				    		<%--</li>--%>
						<%--</s:if>--%>
					<%--</s:iterator>--%>
		</s:iterator>
		</s:if>
	<s:else>
		<li><a data-ajax="false"  href="javascript:void(0)">
			没有批注信息.
		</a>
		</li>
	</s:else>
		<input type="hidden" name="pageKeyword" value="<s:property value="pager.pageKeyword"/>" />
		<input type="hidden" name="pageNumber" value="<s:property value="pager.pageNumber"/>" />
		<input type="hidden" name="pageCount" value="<s:property value="pager.pageCount"/>" />
		<input type="hidden" name="totalCount" value="<s:property value="pager.totalCount"/>" />
